module dianji(
input up,
input down,
input stop,
output reg line1,
output reg line2
);

always@(*)
begin

	if (stop == 1)
		  begin
			line1 <=1;
			line2 <=1;
		  end
	else if (up == 1)
		  begin
			line1 <=1;
			line2 <=0;
		  end
	else if (down == 1)
		  begin
			line1 <=0;
			line2 <=1;
		  end
	else 
		  begin
			line1 <=1;
			line2 <=1;
		  end
		  
		  
end
endmodule


